package com.bdqn.t296.noso.service;



import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.bdqn.t296.noso.entity.*;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.util.List;

public interface RegisterService {
    //分页方法
    IPage<Register>selectUser(Page<Register> page, @Param(value = "register") Register register);
    //增加方法
    public int addRegister(Register register);
    //查询医生
    List<Doctor> selDoctor(Doctor doctor);
    //查询科室
    List<Departments> selDepartment(Departments departments);
    //查询床位
    List<Bed> selBed(Bed bed);
    //查询折扣
    List<Moneytype> selDis();
    //查询患者
    List<Register> selRegister(Register register);
    //逻辑删除门诊信息
    int updZ(Register register);
    //修改患者信息
    int updKe(Register register);
    //修改患者床位状态
    int updBed(Register register);

}
